StvDEV

 GDK

  Components

  Drawing

  Editor

  Extensions

  Inspector

  CaptionedBoolAttribute

  CaptionedBoolAttribute(string, string)

  False

  True

  DisableOnRuntimeAttribute

  EnumAttribute

  MinMaxRangeAttribute

  ReadOnlyAttribute

  ShowIfAttribute

  Patterns

  TMP

  Types

  Vibration

class CaptionedBoolAttribute

Draws the bool value as a drop-down list with a signed selection.
VisibilityPublic
ExtendsPropertyAttribute

Public methods

Constructor CaptionedBoolAttribute(string trueAnnotation = "Yes", string falseAnnotation = "No")Draws the bool value as a drop-down list with a signed selection.

Public properties

string False False annotation.
string True True annotation.